package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {

    void save(DishDTO dto);

    PageResult page(DishPageQueryDTO dto);

    void deleteDishByIds(List<Long> ids);

    DishVO getDishById(Long id);

    void updateDishById(DishDTO dto);

    void updateStatus(Integer status, Long id);

    List<Dish> getCategoryByCategoryIdName(Long categoryId, String name);

    List<DishVO> getDishByCategoryId(Dish build);
}

